/* 顶部固定分数栏 */
.score-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #89CFF0, #0d6efd);
    color: white;
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 避免内容被顶部固定栏遮挡 */
body {
    padding-top: 50px;
    padding-bottom: 70px;
}

/* 考试项目卡片样式 */
.project-card {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.project-card-header {
    padding: 15px 20px;
    font-weight: 600;
    font-size: 1.2rem;
}

/* 扣分按钮样式 */
.deduction-btn {
    margin: 8px;
    transition: all 0.2s ease;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.deduction-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

/* 考试结束按钮样式 */
.end-exam-btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    margin: 30px auto;
    display: block;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border: none;
    box-shadow: 0 6px 15px rgba(231, 76, 60, 0.4);
}

.end-exam-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.5);
}

/* 进度条样式 */
.progress-container {
    margin: 20px 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .score-bar {
        padding: 10px 0;
    }
    body {
        padding-top: 50px;
    }
}

.bottom-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-item {
    flex: 1;
    text-align: center;
    padding: 8px 5px;
    color: #666;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-item.active {
    color: #2c3e50;
    font-weight: bold;
}

.nav-item i {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.nav-item.active i {
    color: #4a6491;
}

/* 毛玻璃导航栏样式 */
.glass-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

/* 导航栏滚动效果 */
.glass-navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* 标题样式 */
.navbar-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.glass-navbar.scrolled .navbar-title {
    color: #000;
}

/* 复位按钮样式 */
.reset-btn {
    /* background: #0d6efd; */
    /* color: #1d1d1f; */
    border: none;
    border-radius: 8px;
    padding: 0.375rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.reset-btn:active {
    transform: translateY(0);
}

/* 得分显示样式 */
.score-display {
    /* padding-top: 14px; */
    /* background: rgba(255, 255, 255, 0.8); */
    /* color: #1d1d1f;
    border-radius: 20px;
    padding: 0.375rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem; */
}

.score-display i {
    color: #0071e3; /* 苹果蓝 */
}

/* 响应式调整 */
@media (max-width: 576px) {
    .navbar-title {
        font-size: 1.25rem;
    }
    
    .reset-btn, .score-display {
        font-size: 0.8rem;
        padding: 0.25rem 0.75rem;
    }
}